package com.ruoyi.pims.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存分布对象 ry_stock_distribution
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class RyStockDistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分布ID */
    private Long distributionId;

    /** 关联概览ID */
    @Excel(name = "关联概览ID")
    private Long overviewId;

    /** 库位ID */
    @Excel(name = "库位ID")
    private Long locationId;

    /** 库位名称 */
    @Excel(name = "库位名称")
    private String locationName;

    /** 库存占比 */
    @Excel(name = "库存占比")
    private BigDecimal stockProportion;

    /** 品类分布 */
    @Excel(name = "品类分布")
    private String categoryDist;

    public void setDistributionId(Long distributionId) 
    {
        this.distributionId = distributionId;
    }

    public Long getDistributionId() 
    {
        return distributionId;
    }

    public void setOverviewId(Long overviewId) 
    {
        this.overviewId = overviewId;
    }

    public Long getOverviewId() 
    {
        return overviewId;
    }

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }

    public void setStockProportion(BigDecimal stockProportion) 
    {
        this.stockProportion = stockProportion;
    }

    public BigDecimal getStockProportion() 
    {
        return stockProportion;
    }

    public void setCategoryDist(String categoryDist) 
    {
        this.categoryDist = categoryDist;
    }

    public String getCategoryDist() 
    {
        return categoryDist;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distributionId", getDistributionId())
            .append("overviewId", getOverviewId())
            .append("locationId", getLocationId())
            .append("locationName", getLocationName())
            .append("stockProportion", getStockProportion())
            .append("categoryDist", getCategoryDist())
            .toString();
    }
}
